package io.github.wslxm.springbootplus2.manage.sys.dao.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import io.github.wslxm.springbootplus2.core.base.service.impl.BaseServiceImpl;
import io.github.wslxm.springbootplus2.manage.sys.dao.SysUserAkSkDao;
import io.github.wslxm.springbootplus2.manage.sys.mapper.SysUserAkSkMapper;
import io.github.wslxm.springbootplus2.manage.sys.model.entity.SysUserAkSk;
import org.springframework.stereotype.Service;

/**
 * base--sys--用户管理 ServiceImpl
 *
 * <p>
 * ::本代码由[兮家小二]提供的代码生成器生成,如有问题,请手动修改 ::作者CSDN:https://blog.csdn.net/qq_41463655
 * </p>
 *
 * @author ws
 * @email 1720696548@qq.com
 * @date 2025-09-24 09:26:12
 */
@Service
public class SysUserAkSkDaoImpl extends BaseServiceImpl<SysUserAkSkMapper, SysUserAkSk> implements SysUserAkSkDao {


    @Override
    public SysUserAkSk findUserIdByAkSk(String accessKey) {
        return this.getOne(new LambdaQueryWrapper<SysUserAkSk>().eq(SysUserAkSk::getAccessKey, accessKey));
    }
}
